import { configureStore } from "@reduxjs/toolkit";
import seller from './models/seller'
import goods from './models/goods'
import comment from './models/comment'
const store = configureStore({
    reducer:{
        seller,
        goods,
        comment
    }
})
//  推导出整个store类型
export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch

export default store